@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
}
html {
  scroll-behavior: smooth;
}
/* ===========================  Gallery Page =========================== */

/* ------------------- Navbar munu -------------------- */

nav {
  position: sticky;
  top: 50px;
}
.NavBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(33, 33, 33);
  padding: 16px 20px;
  border-radius: 100px;
  margin: 0 100px;
  z-index: 2;
}
.menu-bar {
  display: none;
  color: white;
}
.menu-bar::before {
  content: "☰";
  font-size: 20px;
}

.menu-bar.active::before {
  content: "✕";
}
.menu-links {
  display: flex;
}
.menu-links ul {
  display: none;
}

.menu-links ul.open {
  display: flex;
}

ul {
  display: flex;
  padding: 8px 16px;
  justify-content: space-between;
  align-items: center;
  width: 360px;
  font-family: "Fredoka", sans-serif;
  letter-spacing: 0.3px;
  font-size: 14px;
}
.menu-links li {
  list-style: none;
}
.menu-links a {
  text-decoration: none;
  color: #3bc1a8;
  transition: color 0.3s ease;
}
.menu-links a:hover {
  color: white;
}
.primary-btn {
  background-color: yellow;
  padding: 8px 32px;
  border-radius: 60px;
}
.primary-btn a {
  font-family: "Fredoka", sans-serif;
  font-size: 14px;
  text-decoration: none;
  color: black;
}
/* ------------------- resposive Tablet -------------------- */
@media (min-width: 501px) and (max-width: 1080px) {
  .NavBar {
    margin: 0 50px;
    padding: 16px 20px;
  }
  .menu-bar {
    display: flex;
    color: white;
    padding: 8px 16px;
  }
  .menu-links {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgb(33, 33, 33);
    position: absolute;
    top: 80px;
    left: 0;
    border-radius: 10px;
  }
  .menu-links li {
    padding: 12px 0;
    width: 100%;
  }
}

/* ------------------- resposive mobile -------------------- */

@media (min-width: 320px) and (max-width: 500px) {
  nav {
    position: sticky;
    top: 30px;
  }
  .NavBar {
    margin: 0 20px;
    padding: 10px 10px;
  }
  .menu-bar {
    display: flex;
    color: white;
    padding: 8px 16px;
  }
  .menu-links {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgb(33, 33, 33);
    position: absolute;
    top: 70px;
    left: 0;
    border-radius: 10px;
  }
  .menu-links li {
    padding: 12px 0;
    width: 100%;
  }
}

/* Force desktop menu visible */
@media (min-width: 1080px) {
  .menu-links ul {
    display: flex !important;
    position: static;
    flex-direction: row;
  }
}

/* ------------------- Gallery -------------------- */
.gallery-container {
  margin: 100px;
}

.gallery-container h1 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 38px;
  color: white;
  padding-bottom: 30px;
}

/* Responsive Grid */
.design-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

/* Card styling */
.design-card {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 14px;
  background: #f5f5f5;
}

.design-card.reveal {
  transform: scale(0.9);
}

.design-card.reveal.show {
  transform: scale(1);
}

/* Image handling */
.design-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Hover effect (optional but premium) */
.design-card:hover img {
  transform: scale(1.05);
}

/* ------------------- resposive Tablet -------------------- */
@media (min-width: 501px) and (max-width: 1080px) {
  .gallery-container {
    margin: 100px 50px;
  }
  .gallery-container h1 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    line-height: 24px;
    color: white;
    padding-bottom: 30px;
  }
  .design-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
  }
}

/* ------------------- resposive mobile -------------------- */

@media (min-width: 320px) and (max-width: 500px) {
  .gallery-container {
    margin: 80px 20px;
  }

  .gallery-container h1 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    line-height: 24px;
    color: white;
    padding-bottom: 30px;
  }
  .design-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}
/* ------------------- Gallery videos -------------------- */

.video-section {
  margin: 100px;
}
.video-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 38px;
  color: white;
  padding-bottom: 10px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
  cursor: pointer;
}

.video-card video {
  width: 100%;
  border-radius: 12px;
}

.video-card p {
  margin-top: 16px;
  font-family: "Fredoka", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: white;
  padding-bottom: 30px;
}

/* ------------------- resposive Tablet -------------------- */
@media (min-width: 501px) and (max-width: 1080px) {
  .video-section {
    margin: 100px 50px;
  }
  .video-section h2 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    line-height: 36px;
  }
  .video-card p {
    font-family: "Fredoka", sans-serif;
    font-size: 18px;
    font-weight: 400;
    padding-bottom: 30px;
  }
}
/* ------------------- resposive mobile -------------------- */

@media (min-width: 320px) and (max-width: 500px) {
  .video-section {
    margin: 80px 20px;
  }
  .video-section h2 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    line-height: 24px;
  }
  .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }
  .video-card p {
    margin-top: 10px;
    font-family: "Fredoka", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: white;
    padding-bottom: 20px;
  }
}
/* ------------------- Footer -------------------- */

.footer {
  height: auto;
  padding-bottom: 100px;
  background-color: rgb(33, 33, 33);
}
.Footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 100px;
  padding-top: 50px;
  position: relative;
}
.footer-item {
  display: flex;
  flex-direction: column;
}
.email {
  padding-bottom: 30px;
}
.footer-item p {
  font-family: "Fredoka", sans-serif;
  font-size: 16px;
  color: #3bc1a8;
  font-weight: 400;
  margin-bottom: 10px;
}
.footer-item h4 {
  font-family: "Playfair Display", serif;
  font-size: 14px;
  color: white;
  font-weight: 400;
  margin-bottom: 10px;
}
.footer-item a {
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-size: 16px;
  color: white;
  font-weight: 400;
  margin-bottom: 10px;
  pointer-events: auto;
}
.footer-item a:hover {
  color: white;
  text-decoration: underline;
}

/* ---------- Tablet resposive ---------- */

@media (min-width: 501px) and (max-width: 1080px) {
  .footer {
    padding-bottom: 70px;
  }
  .Footer-container {
    margin: 0 50px;
  }
}
/* ---------- Mobile resposive ---------- */

@media (min-width: 320px) and (max-width: 500px) {
  .footer {
    padding-bottom: 10px;
  }
  .Footer-container {
    display: flex;
    flex-direction: column;
    margin: 0px 20px;
  }
  .footer-item {
    padding-bottom: 30px;
  }
  .footer-item p {
    font-size: 12px;
  }
  .footer-item h4 {
    font-size: 14px;
  }
  .footer-item a {
    font-size: 14px;
  }
}

/* ================= Scroll Reveal Animation ================= */

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* stagger support */
.reveal.delay-1 {
  transition-delay: 0.1s;
}
.reveal.delay-2 {
  transition-delay: 0.2s;
}
.reveal.delay-3 {
  transition-delay: 0.3s;
}
.reveal.delay-4 {
  transition-delay: 0.4s;
}
